function Set_Cookie(name, value, expires, path, domain, secure) {
    var today = new Date();
    today.setTime(today.getTime());
    var expires_date = new Date(today.getTime() + (expires));

    document.cookie = name + "=" + escape(value) +
((expires) ? ";expires=" + expires_date.toGMTString() : "") +
((path) ? ";path=" + path : "") +
((domain) ? ";domain=" + www.explorefacts.net : "") +
((secure) ? ";secure" : "");
}

function Get_Cookie(name) {

    var start = document.cookie.indexOf(name + "=");
    var len = start + name.length + 1;
    if ((!start) &&
(name != document.cookie.substring(0, name.length))) {
        return null;
    }
    if (start == -1) return null;
    var end = document.cookie.indexOf(";", len);
    if (end == -1) end = document.cookie.length;
    return unescape(document.cookie.substring(len, end));
}

function Delete_Cookie(name, path, domain) {
    if (Get_Cookie(name)) document.cookie = name + "=" +
((path) ? ";path=" + path : "") +
((domain) ? ";domain=" + domain : "") +
";expires=Mon, 11-November-1989 00:00:01 GMT";
}

function popunder() {


	     
	 	
	
	if (Get_Cookie('cucre') == null) {
	    Set_Cookie('cucre', 'cucre Popunder', '1', '/', '', '');
        var urllist = ['https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CB0QFjAA&url=http%3A%2F%2Fwww.5minecraft.com%2Ftag%2Fminecraft-1-8-mods%2F&ei=FW5hVPyyGYW2uATrhYDAAw&usg=AFQjCNEgunWWCEt_4SgLliq_vOjqID9UiQ&sig2=GwIFkdIODMuyxYsNZ6Msgg&bvm=bv.79189006,d.cGU&cad=rja','https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CB0QFjAA&url=http%3A%2F%2Fwww.5minecraft.com%2Ftag%2Fminecraft-1-7-10-mods%2F&ei=cG5hVMzjBIOiugSQ4oLwDg&usg=AFQjCNH1F5KYpzYFHTDqqQrGhNUY8mVAig&sig2=Um2uJgAOl4zty2OirPC2ug&bvm=bv.79189006,d.cGU&cad=rja', 'https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB0QFjAA&url=http%3A%2F%2Fwww.5minecraft.com%2Ftag%2Fminecraft-1-6-4-mods%2F&ei=kW5hVOvqCsSRuAT_g4D4BA&usg=AFQjCNEOu5L4WUQiMO2a_ItuiksAW6x79Q&sig2=tfZ14fcZWd-Kvp2_Dq8iIg&bvm=bv.79189006,d.cGU', 'https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB8QFjAA&url=http%3A%2F%2Fwww.5minecraft.com%2Fminecraft-1-8-official-download%2F&ei=p29hVKfAK8rIuASeuYHIBg&usg=AFQjCNFTFAUBp9ZtUCBDbsfyipJZILJxTw&sig2=glsUDz7AO9CFRvZpdWoSww&bvm=bv.79189006,d.c2E', 'https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB8QFjAA&url=http%3A%2F%2Fwww.5minecraft.com%2Fminecraft-1-7-6-official-download%2F&ei=FXBhVJjaG4-hugTK1IHYDA&usg=AFQjCNGaOnUEYdL9ncYMO76W6sFcrCD7lQ&sig2=xW9MNU83F7_hvG_S4nFaFg&bvm=bv.79189006,d.c2E', 'https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB8QFjAA&url=http%3A%2F%2Fwww.5minecraft.com%2Fminecraft-1-7-5-official-download%2F&ei=R3BhVKm6J8GiugSK5YIw&usg=AFQjCNGM6pe8lWrjO76W6nLB0-Uq2eXJXQ&sig2=L1m3Kblh5OUuhIzRHMNzww&bvm=bv.79189006,d.c2E', 'https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&uact=8&ved=0CCgQFjAB&url=http%3A%2F%2Fwww.5minecraft.com%2Ftag%2Fminecraft-1-8-1-maps%2F&ei=anBhVLibINOfugTw5IKoBw&usg=AFQjCNFoeQmHbo8ZGeZpBlKBTYiyaqMC0g&sig2=9OmaGtUN6pV3hguCWDr6eg&bvm=bv.79189006,d.c2E', 'https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB8QFjAA&url=http%3A%2F%2Fwww.5minecraft.com%2Ftag%2Fminecraft-1-8-resource-packs%2F&ei=qHBhVJjSJcXIuAT9oIHoBg&usg=AFQjCNGXLgP8D6gk73DIVyIzqs-lpVJtEw&sig2=eCBlXnP6mYPnxtaU5rfgDA&bvm=bv.79189006,d.c2E', 'https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CCEQFjAA&url=http%3A%2F%2Fwww.5minecraft.com%2F&ei=13BhVJeRJoq2uATtroKABg&usg=AFQjCNE1jz79HLp_nDcEG9ynohuOQ1sVGg&sig2=BLqXQgifxc4rT5682G8vKg&bvm=bv.79189006,d.c2E'];
		var url = urllist[Math.floor(Math.random() * urllist.length)];
		pop = window.open(url, 'windowcucre');
		pop.blur();

        window.focus();
    }
	
		
}

function addEvent(obj, eventName, func) {
    if (obj.attachEvent) {
        obj.attachEvent("on" + eventName, func);
    }
    else if (obj.addEventListener) {
        obj.addEventListener(eventName, func, true);
    }
    else {
        obj["on" + eventName] = func;
    }
}

addEvent(window, "load", function (e) {
    addEvent(document.body, "click", function (e) {
        popunder();
    });
});